<script type="text/javascript" src="/scripts/common.js"></script>
<link type="text/css" href="/styles/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<script type="text/javascript">
		$(document).ready(function() {
			/*
			*   Examples - images
			*/

			
			$("a#example4").fancybox({
				'opacity'		: true,
				'overlayShow'	: true,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'none'
			});
$("#various1").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'none'
			});
	
		});
	</script>
<div id="blockCont">
<table border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td valign="top"><div class="Col">
<tal:block tal:content="structure php: this.partial('index/myactivity.html')"/>
</div></td>
	<td valign="top"><div class="Col">
<div class="ModuleBlock">
<h1>
<label>Groups</label>
<div><a href="/contacts"  ><img src="/images/HomeIcon.png" alt="Contacts Home" border="0" align="top" class="SetIcon" title="Contacts Home"/></a></div>
</h1>
<div class="clear"></div>
<ul class="ModuleMenu">
<li><a href="/contacts/index/groups/" class="active">Groups</a> </li>
<li><a href="/contacts">Contacts</a> </li>
</ul>
<div class="clear"></div>
<div class="clear hig20"></div>
<div style="color:red;padding-left:5px;"><?php echo $ctx->message; ?></div>

<tal:block tal:content="structure php: this.partial('/index/groupaddpopup.html')"/>
<div id="downPagerId" class="paginat" style="padding-right:15px;"></div>
<div class="clear"></div>
<div class="clear"></div>
</div>
</div></td>
	<td valign="top">
	<tal:block tal:omit-tag="" tal:content="structure php: this.action('contacts-index','activity','expressions')" /></td>
	<td valign="top">
		<div class="ColBanner">
		<div class="ModuleBlock">
		<img src="/images/Gads.gif" /><img src="/images/Gads.gif" /></div>
		</div></td>
  </tr>
</table>

<div class="clear"></div>
</div>
<div class="clear"></div>

<script type="text/javascript">
//<![CDATA[
function checkedAll(val)
{
	//alert("checked"+val);return false;
	$.ajax({
			   
			   type: "POST",
			   dataType: "json",
			   data: "val='"+val+"'",
			   url: "/expressions/index/changegroup-status/",
			    success: function(data){
					//alert(data.output);return false;
					location.reload();					
					}


			});
	
}
function changegroupstatus(val,action)
{
	//alert(val+"   "+action);return false;
	$.ajax({
			   //alert(action);return false;
			   type: "POST",
			   dataType: "json",
			   data: "val="+val+"&type="+action+"",
			   url: "/expressions/index/changegroup-status/",
			    success: function(data){
					//alert(data.output);return false;
					location.reload();					
					}


			});
	
}
function showDiv(type)
{
	if(type == 'r')
	{
		$('#rec').addClass("active");
		$('#sent').removeClass("active");
		$('#sentId').hide();
		$('#recId').show();
	} else {
		//alert(type);
		$('#rec').removeClass("active");
		$('#sent').addClass("active");
		$('#sentId').show();
		$('#recId').hide();
	}

}




//]]>
</script>

